OTP\Handler\Forms\WPFormsPlugin A

Total Complexity 71
Dependencies 7
Dependents 0
Total lines 485
Lines of code 305
Logical lines of code 155
Comment lines 139
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
validateForm()
A
51 10 26
getFieldIDs()
S
54 6 21
handle_form_options()
S
53 5 22
handle_form()
S
54 5 18
__construct()
S
53 4 22
parseFormDetails()
S
55 4 20
checkIntegrity()
S
56 4 19
send_otp()
S
59 4 14
get_phone_number_selector()
S
68 4 7
processFormAndValidateOTP()
S
63 3 11
checkIntegrityAndValidateOTP()
S
57 2 19
getFormDataFromID()
S
64 3 10
processEmail()
S
62 3 10
processPhone()
S
62 3 10
processPhoneAndSendOTP()
S
60 2 14
processEmailAndSendOTP()
S
60 2 14
mo_enqueue_wpforms()
S
53 1 23
checkIfOTPSent()
S
66 2 10
handle_failed_verification()
S
79 1 3
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3
getSessionDetails()
S
71 1 6